import { setToken } from '@/utils/auth'

export function login(username, password) {
  return new Promise( (resolve, reject) => {
    setToken('hhhhhhhh')
    setTimeout(() => {
      resolve()
    }, 1500)
  })
}
